<?php

namespace IDock\Insurance\MACN\Request;

use IDock\Insurance\MACN\Request\AllMACNRequest;
use IDock\Insurance\MACN\Response\NonCarProductListResponse;
use IDock\Visitor\NonCar\NonCarProductListVisitor;

class NonCarProductListRequest extends AllMACNRequest
{
    protected $requestType = '0051';

    protected $urlTip = '非车产品列表';

    protected $response = NonCarProductListResponse::class;

    /*** @var NonCarProductListVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'baseInfo' => [
                'personCarFlag' => '1',
                'companyCode' => $this->visitor->argc['companyCode'] ?? '',
                'prodCode' => '',
            ]
        ];
    }
}
